{
  "properties" : { },
  "id" : "540bef3ebd1643a9be34da89fb2f54b5",
  "script" : null,
  "groupId" : "4c0c509172534572bbe1809900aeafa9",
  "name" : "左侧树删除节点",
  "createTime" : 1727071000900,
  "updateTime" : 1725324753847,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "remove",
  "method" : "POST",
  "parameters" : [ {
    "name" : "ids",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"id\": \"1438798309655351298\",\n            \"deviceModel\": \"S5720\",\n            \"deviceModelName\": \"交换机\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1438798611154505730\",\n            \"deviceModel\": \"msr36-20\",\n            \"deviceModelName\": \"路由器\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460881638340759553\",\n            \"deviceModel\": \"NE 40E\",\n            \"deviceModelName\": \"NE 40E\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1460881768091553794\",\n            \"deviceModel\": \"SR 8808\",\n            \"deviceModelName\": \"SR 8808\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460881823603167234\",\n            \"deviceModel\": \"SR6608\",\n            \"deviceModelName\": \"SR 6608\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460882488702341121\",\n            \"deviceModel\": \"MSR50-40\",\n            \"deviceModelName\": \"MSR50-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460882559531552770\",\n            \"deviceModel\": \"MSR30-40\",\n            \"deviceModelName\": \"MSR30-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460882810497732610\",\n            \"deviceModel\": \"AR2200\",\n            \"deviceModelName\": \"AR2200\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1460882902176829442\",\n            \"deviceModel\": \"AR2240C\",\n            \"deviceModelName\": \"AR2240C\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1460883054081937409\",\n            \"deviceModel\": \"MSR56-60\",\n            \"deviceModelName\": \"MSR56-60\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1460884003978547201\",\n            \"deviceModel\": \"AR2000\",\n            \"deviceModelName\": \"AR2000\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461531184557223937\",\n            \"deviceModel\": \"ZXR10 6804\",\n            \"deviceModelName\": \"ZXR10 6804\",\n            \"deviceFirm\": \"3\"\n        },\n        {\n            \"id\": \"1461584500934905858\",\n            \"deviceModel\": \"Quidway NE20-4\",\n            \"deviceModelName\": \"Quidway NE20-4\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461584734570151938\",\n            \"deviceModel\": \"AR2240\",\n            \"deviceModelName\": \"AR2240\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461584825443942401\",\n            \"deviceModel\": \"AR3260\",\n            \"deviceModelName\": \"AR3260\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461584940342706178\",\n            \"deviceModel\": \"ZXR10\",\n            \"deviceModelName\": \"6804\",\n            \"deviceFirm\": \"3\"\n        },\n        {\n            \"id\": \"1461585098031759361\",\n            \"deviceModel\": \"MSR5620\",\n            \"deviceModelName\": \"MSR5620\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1461585180688908289\",\n            \"deviceModel\": \"ZXR10 3884\",\n            \"deviceModelName\": \"ZXR10 3884\",\n            \"deviceFirm\": \"3\"\n        },\n        {\n            \"id\": \"1461585434280722434\",\n            \"deviceModel\": \"Quidway AR46-20\",\n            \"deviceModelName\": \"Quidway AR46-20\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461595994657390593\",\n            \"deviceModel\": \"MSR36-40\",\n            \"deviceModelName\": \"MSR36-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1461598391052009473\",\n            \"deviceModel\": \"MSR50-60\",\n            \"deviceModelName\": \"MSR50-60\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1461600190962073601\",\n            \"deviceModel\": \"AR2220\",\n            \"deviceModelName\": \"AR2220\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1461600226408136706\",\n            \"deviceModel\": \"AR2220L\",\n            \"deviceModelName\": \"AR2220L\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1653961878645248001\",\n            \"deviceModel\": \"huaweitest111\",\n            \"deviceModelName\": \"huaweitest111\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1654317907144871937\",\n            \"deviceModel\": \"h3c1\",\n            \"deviceModelName\": \"h3c111\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1655116970404614146\",\n            \"deviceModel\": \"ensp路由器--设备型号\",\n            \"deviceModelName\": \"ensp路由器--型号名称\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1661907011265204226\",\n            \"deviceModel\": \"S5600\",\n            \"deviceModelName\": \"S5600交换机\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1680831012003663873\",\n            \"deviceModel\": \"模板配置\",\n            \"deviceModelName\": \"模板配置\",\n            \"deviceFirm\": \"4\"\n        },\n        {\n            \"id\": \"1723890154709467137\",\n            \"deviceModel\": \"h3cPublic\",\n            \"deviceModelName\": \"h3cPublic\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1724975820897792001\",\n            \"deviceModel\": \"hwPublic\",\n            \"deviceModelName\": \"hwPublic\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1725040805388759041\",\n            \"deviceModel\": \"ztePublic\",\n            \"deviceModelName\": \"ztePublic\",\n            \"deviceFirm\": \"3\"\n        },\n        {\n            \"id\": \"1734491306719207426\",\n            \"deviceModel\": \"测试123456\",\n            \"deviceModelName\": \"测试121345\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"5124058797051783147\",\n            \"deviceModel\": \"AR2220E\",\n            \"deviceModelName\": \"AR2220E\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"8603486410574698218\",\n            \"deviceModel\": \"AR2240C\",\n            \"deviceModelName\": \"AR2240C\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1972357057229371385\",\n            \"deviceModel\": \"AR2220\",\n            \"deviceModelName\": \"AR2220\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1196614603096782268\",\n            \"deviceModel\": \"AR28-31\",\n            \"deviceModelName\": \"AR28-31\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"3170454978215788871\",\n            \"deviceModel\": \"AR3260\",\n            \"deviceModelName\": \"AR3260\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"6417164439129713529\",\n            \"deviceModel\": \"SR8800\",\n            \"deviceModelName\": \"SR8800\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"2277770821927066316\",\n            \"deviceModel\": \"MSR2600\",\n            \"deviceModelName\": \"MSR2600\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"4317262566329845157\",\n            \"deviceModel\": \"SR8812-F\",\n            \"deviceModelName\": \"SR8812-F\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"2222511379404945106\",\n            \"deviceModel\": \"MSR36-60\",\n            \"deviceModelName\": \"MSR36-60\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"2240094372630893166\",\n            \"deviceModel\": \"AR6140-S\",\n            \"deviceModelName\": \"AR6140-S\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"8725998022214609551\",\n            \"deviceModel\": \"AR46-40\",\n            \"deviceModelName\": \"AR46-40\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1372221744528726325\",\n            \"deviceModel\": \"MSR5620\",\n            \"deviceModelName\": \"MSR5620\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"8600108312240451561\",\n            \"deviceModel\": \"unknown\",\n            \"deviceModelName\": \"unknown\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"4295624396304138919\",\n            \"deviceModel\": \"MSR3640\",\n            \"deviceModelName\": \"MSR3640\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"7526334406585840381\",\n            \"deviceModel\": \"AR3260E-S\",\n            \"deviceModelName\": \"AR3260E-S\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"7668120317015777490\",\n            \"deviceModel\": \"MSR50-40\",\n            \"deviceModelName\": \"MSR50-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"5325396850270446784\",\n            \"deviceModel\": \"AR2240\",\n            \"deviceModelName\": \"AR2240\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"7968679045298083351\",\n            \"deviceModel\": \"MSR36-40\",\n            \"deviceModelName\": \"MSR36-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"7547354790817677973\",\n            \"deviceModel\": \"MSR3620\",\n            \"deviceModelName\": \"MSR3620\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"3398448953500355788\",\n            \"deviceModel\": \"AR6140-16G4XG\",\n            \"deviceModelName\": \"AR6140-16G4XG\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"2785324312741124322\",\n            \"deviceModel\": \"AR6140-9G-2AC\",\n            \"deviceModelName\": \"AR6140-9G-2AC\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"2707236045104630716\",\n            \"deviceModel\": \"AR6300\",\n            \"deviceModelName\": \"AR6300\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"8364202070637897057\",\n            \"deviceModel\": \"MSR3610\",\n            \"deviceModelName\": \"MSR3610\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"2071715513554026232\",\n            \"deviceModel\": \"AR46-80\",\n            \"deviceModelName\": \"AR46-80\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"8251828216138223436\",\n            \"deviceModel\": \"AR2240-S\",\n            \"deviceModelName\": \"AR2240-S\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1683003351295623165\",\n            \"deviceModel\": \"SR6608\",\n            \"deviceModelName\": \"SR6608\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"3756239380879911861\",\n            \"deviceModel\": \"ZXR10\",\n            \"deviceModelName\": \"ZXR10\",\n            \"deviceFirm\": \"3\"\n        },\n        {\n            \"id\": \"5169392678482476109\",\n            \"deviceModel\": \"AR2240C-S\",\n            \"deviceModelName\": \"AR2240C-S\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1584284659339790475\",\n            \"deviceModel\": \"MSR56-80\",\n            \"deviceModelName\": \"MSR56-80\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1541626928360081652\",\n            \"deviceModel\": \"MSR30-40\",\n            \"deviceModelName\": \"MSR30-40\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"6558860337346468660\",\n            \"deviceModel\": \"SR8808-F\",\n            \"deviceModelName\": \"SR8808-F\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1978849431593664514\",\n            \"deviceModel\": \"MSR56-60\",\n            \"deviceModelName\": \"MSR56-60\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"6491627243198419477\",\n            \"deviceModel\": \"NE20-4\",\n            \"deviceModelName\": \"NE20-4\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"2859960208225760906\",\n            \"deviceModel\": \"NE40E-X8\",\n            \"deviceModelName\": \"NE40E-X8\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"3307285274347260110\",\n            \"deviceModel\": \"NE40E\",\n            \"deviceModelName\": \"NE40E\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"5903984899258659122\",\n            \"deviceModel\": \"MSR36-20\",\n            \"deviceModelName\": \"MSR36-20\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1302670579259229165\",\n            \"deviceModel\": \"unknown_hw\",\n            \"deviceModelName\": \"unknown_hw\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1199374291032955878\",\n            \"deviceModel\": \"unknown_h3c\",\n            \"deviceModelName\": \"unknown_h3c\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1829452874069970944\",\n            \"deviceModel\": \"ceshi001\",\n            \"deviceModelName\": \"嘻嘻嘻ha\",\n            \"deviceFirm\": \"2\"\n        },\n        {\n            \"id\": \"1829453574417989633\",\n            \"deviceModel\": \"NE20-4\",\n            \"deviceModelName\": \"NE20-4\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1829466508187799552\",\n            \"deviceModel\": \"\",\n            \"deviceModelName\": \"\",\n            \"deviceFirm\": \"\"\n        },\n        {\n            \"id\": \"1830413298492358657\",\n            \"deviceModel\": \"AR2200\",\n            \"deviceModelName\": \"AR2200\",\n            \"deviceFirm\": \"1\"\n        },\n        {\n            \"id\": \"1830426893317443584\",\n            \"deviceModel\": \"\",\n            \"deviceModelName\": \"\",\n            \"deviceFirm\": \"\"\n        },\n        {\n            \"id\": \"1830429710367199232\",\n            \"deviceModel\": \"\",\n            \"deviceModelName\": \"\",\n            \"deviceFirm\": \"\"\n        },\n        {\n            \"id\": \"1830430856259440640\",\n            \"deviceModel\": \"\",\n            \"deviceModelName\": \"\",\n            \"deviceFirm\": \"\"\n        }\n    ]\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "status",
      "value" : "200",
      "description" : "",
      "required" : false,
      "dataType" : "Integer",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "message",
      "value" : "success",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "data",
      "value" : "",
      "description" : "",
      "required" : false,
      "dataType" : "Array",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ {
        "name" : "",
        "value" : "",
        "description" : "",
        "required" : false,
        "dataType" : "Object",
        "type" : "",
        "defaultValue" : "",
        "validateType" : "",
        "error" : "",
        "expression" : "",
        "children" : [ {
          "name" : "id",
          "value" : "1438798611154505730",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : "",
          "defaultValue" : "",
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        }, {
          "name" : "deviceModel",
          "value" : "msr36-20",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : "",
          "defaultValue" : "",
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        }, {
          "name" : "deviceModelName",
          "value" : "路由器",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : "",
          "defaultValue" : "",
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        }, {
          "name" : "deviceFirm",
          "value" : "2",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : "",
          "defaultValue" : "",
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        } ]
      } ]
    } ]
  }
}
================================
import org.apache.commons.lang.StringUtils;
var list= StringUtils.split(ids,',');
if(ids==null||ids==''){
return null;
}
return db.table('ndmp_net_device_model_info').where().in('id',list).delete();
